<template>
    <div>
        <h2>用户</h2>
        <van-grid :column-num="4">
            <van-grid-item  icon="photo-o" text="我的订单" />
            <van-grid-item  icon="photo-o" text="优惠劵" />
            <van-grid-item  icon="photo-o" text="我的足迹" />
            <van-grid-item  icon="photo-o" text="我的收藏" @click="gomy" />
            <van-grid-item  icon="photo-o" text="地址管理" />
            <van-grid-item  icon="photo-o" text="联系客服" />
            <van-grid-item  icon="photo-o" text="帮助中心" />
            <van-grid-item  icon="photo-o" text="意见反馈" @click="gojianyi" />
        </van-grid>
    </div>
</template>

<script>
export default {
    name: 'userPage',

    data() {
        return {
            
        };
    },

    mounted() {
        
    },

    methods: {
        gomy(){
            // 跳转到我的收藏界面
            this.$router.push({name:'collection'})
        },
        gojianyi(){
            // 跳转到意见反馈
            this.$router.push({name:'submitAction'})
        }
    },
};
</script>

<style scoped>

</style>